{% extends 'base.html' %}
{% block title %}
博客主页
{% endblock %}

{% block content %}
<div class="container-xl">
    <form method="POST" class="form-signin">
        {{ form.hidden_tag() }}
        <h1 class="h3 mb-3 font-weight-normal">博客管理员登录</h1>

        {{ form.username.label }}
        {{ form.username(class="form-control", placeholder="输入用户名") }}

        {{ form.password.label }}
        {{ form.password(class="form-control", placeholder="输入密码") }}

        <br>

        {{ form.submit(class="btn btn-lg btn-primary btn-block") }}
    </form>
</div>
{% endblock %}
